package gspushmq.model;

/**
 * @description 业务编码，消息类型，消息子类型，过期时间
 * @param
 * @version 1.0
 * @author chengsja
 * @date 2018/12/20 16:15
 *
 */
public enum PrefixEnum {

    /**
     * vip实战股票池，即刻消费
     * Created by chengsj on 2018/11/19
     */
    STOCK_VIP("sys","stock_vip","vip实战股票池",1),

    /**
     * 360周报，7天内消费
     * Created by chengsj on 2018/11/19
     */
    WREPORT360("sys","wreport_360","360周报",7*24*60*60),

    /**
     * 直播预约，15分钟内消费
     * Created by chengsj on 2018/11/19
     */
    RESERVATION("live","live_reservation","直播预约",1*1*15*60),

    /**
     * 直播通知，12小时
     * Created by chengsj on 2018/11/22
     */
    BROADCAST("live","live_broadcast","直播通知",12*24*60*60),

    /**
     * 录播通知，12小时
     * Created by chengsj on 2018/11/22
     */
    RECORDE("live","live_recorde","录播通知",12*24*60*60),

    /**
     * 系统后台生产
     * Created by chengsj on 2018/11/22
     */
    SYSBACK("sys","sys","系统后台生产(系统活动，录播，直播)",12*24*60*60),

    /**
     * 行情预警
     * Created by chengsj on 2018/11/29
     */
    HQ("hq","warn","mq生产",12*24*60*60),

	DEHYDRATE("sys", "dehydrate", "脱水研报", 1);


    String mqType;
    String mqSubType;
    String mqName;
    Integer expire;


    PrefixEnum(String mqType, String mqSubType, String mqName, Integer expire) {
        this.mqType = mqType;
        this.mqSubType = mqSubType;
        this.mqName = mqName;
        this.expire = expire;
    }


    public String getMqType() {
        return mqType;
    }

    public String getMqSubType() {
        return mqSubType;
    }

    public String getMqName() {
        return mqName;
    }

    public Integer getExpire() {
        return expire;
    }
}
